package com.cst.words.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cst.words.pojo.Vocabulary;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author : CST
 */
@Mapper
public interface VocabularyMapper extends BaseMapper<Vocabulary>{
    Vocabulary getDescribeByWord(String word);

    Vocabulary getExampleById(int id);
}
